package com.sunzr0119.conventioncentertemplatebackend.service;

import com.sunzr0119.conventioncentertemplatebackend.dto.NoticeDTO;
import com.sunzr0119.conventioncentertemplatebackend.entity.Notice;
import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface NoticeService {
    public ResponseEntity<List<Notice>> getNoticeList();
    public ResponseEntity<Notice> getNoticeById(Long id);
    public ResponseEntity<String> uploadNotice(MultipartFile file, NoticeDTO noticeDTO);
    public ResponseEntity<String> deleteNotice(String id);
    public ResponseEntity<Resource> downloadNotice(String id);
}
